#include <iostream>
#include <cmath>
#include <cstdio>
using namespace std;
int main()
{
    int T;
    cin >> T;
    if (T == 1)
    {
        cout << "I love Luogu!";
    }
    else if (T == 2)
    {
        cout << 2 + 4 << " " << 10 - 2 - 4;
    }
    else if (T == 3)
    {
        cout << 14 / 4 << '\n'
             << 3 * 4 << '\n'
             << 14 - 3 * 4 << endl;
    }
    else if (T == 4)
    {
        //double a = 500.0 / 3;
        //printf("%.6f\n", a);
        cout << "166.667" << endl;
    }
    else if (T == 5)
    {
        //相遇问题 路程和 = 时间 * 速度和
        //火车过桥问题 总路程 = 车长 + 桥长
        cout << (220 + 260) / (20 + 12);
    }
    else if (T == 6)
    {
        cout << sqrt(6 * 6 + 9 * 9);
    }
    else if (T == 7)
    {
        cout << 100 + 10 << endl;
        cout << 110 - 20 << endl;
        cout << 0 << endl;
    }
    else if (T == 8)
    {
        cout << 5 * 2 * 3.141593 << endl;
        cout << 5 * 5 * 3.141593 << endl;
        cout << 4.0 / 3.0 * 3.141593 * 5 * 5 * 5 << endl;
    }
    else if (T == 9)
    {
        cout << 22 << endl;
        //cout << ((((1 + 1) * 2) + 1 * 2) + 1) * 2 << endl;
    }
    else if (T == 10)
    {
        cout << (15 + 7.5 * 10) / 10;
    }
    else if (T == 11)
    {
        //路程差/速度差 = 追击时间
        cout << 100.0 / 3;
    }
    else if (T == 12)
    {
        //char mm = 'M';
        //mm -= 'A';
        //printf("%d\n", mm + 1);
        cout << 13 << endl;
        cout << "R" << endl;
    }
    else if (T == 13)
    {
        cout << 16;
        //printf("%d\n", (int)pow(4 / 3 * 3.141593 * (4 * 4 * 4 + 10 + 10 + 10), 1.0 * 1 / 3));
    }
    else if (T == 14)
    {
        int s = 0;
        int ss = 0;
        //一维枚举
        for (int i = 1; i <= 110; i++)
        {
            s = 120 - i;
            ss = s * i;
            if (ss == 3500)
            {
                cout << i << endl;
                break;
            }
        }
    }
    return 0;
}